package com.yxhl.zoume.data.http.rest.param.passenger;

import com.yxhl.zoume.data.http.rest.param.base.BaseRequestParam;

/**
 * 新增乘客请求参数
 * Created by Xboy on 16/3/18.
 */
public class AddPassengerParam extends BaseRequestParam {
    /*
    {
    "clientType": "user",
    "mobile": "15938900984",
    "token": "1111111111111111111111111",
    "contract": {
        "realname": "冯如晓测试",
        "mobile": "15010795097",
        "idType": 1,
        "idNumber": "11111223345",
        "contractType": 1,
        "gender": 1
    }
    }
     */


    private PassengerParam contract;

    public AddPassengerParam(String mobile, String token, PassengerParam contract) {
        super(mobile, token);
        this.contract = contract;
    }

    public PassengerParam getContract() {
        return contract;
    }

    public void setContract(PassengerParam contract) {
        this.contract = contract;
    }

    @Override
    public String toString() {
        return "AddPassengerParam{" +
                "contract=" + contract +
                '}';
    }

}
